using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace ConsolePlayer
{
	public interface IPlayerCore
	{
		bool Validate { get; }
        bool Play();
        bool Stop();
        bool Pause();
		long CurrentPosition { get; set; }
        void SetOwner(IntPtr ptr, Rectangle rect);
		IntPtr GetOwner();
		void SetFullScreen(IntPtr msgWnd);
		bool IsVideo();
		string CurrentFile { get; }
		long Duration { get;}
		double Rate { get; set; }
		int Volume { get; set; }
		Size NativeSize { get;}
        int GetLastErrorCode();
	}
	public interface ICommand
	{
		void Action();
	}

	public interface IConnection
	{
		void Connect(IPlayerCore core);
		void Disconnect();
	}

	public interface IExtension
	{
		object ParseCommandLine(string[] args);
	}
}
